#pragma once
#ifndef SDEF_OBS
#define SDEF_OBS

#include <SypX/SypX.h>
#include "Actor.h"

namespace SheepDefence
{
	struct circle
	{	
		float x[12], y[12], r;
	};

	struct line
	{
		float x1[12], y1[12], x2[12], y2[12];
	};


	class Obstacle : public Actor
	{

	public:

		std::vector<circle*> circles;
		std::vector<line*> lines;

		float center_x, center_y;
		int circleCount, lineCount;

		// Default constructor
		Obstacle();

		~Obstacle();

		Obstacle(SypX::FileInputStream&, SypX::Sprite*);
	};
}

#endif